﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    public class corecmsdepartment
    {
        /// <summary>
        /// 部门Id
        /// </summary>
        [SugarColumn(ColumnDescription = "部门Id", IsPrimaryKey = true)]
        public System.Int64 id { get; set; }

        /// <summary>
        /// 总店Id
        /// </summary>
        [SugarColumn(ColumnDescription = "总店Id")]
        public System.Int32 corpId { get; set; }

        /// <summary>
        /// 门店Id
        /// </summary>
        [SugarColumn(ColumnDescription = "门店Id")]
        public System.Int32 storeId { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        [SugarColumn(Length = 32, ColumnDescription = "部门编码")]
        public System.String number { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "部门名称")]
        public System.String name { get; set; }

        /// <summary>
        /// 部门状态 
        /// </summary>
        [SugarColumn(ColumnDescription = "部门状态")]
        public System.Int32 status { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(ColumnDescription = "是否删除")]
        public System.Boolean isDelete { get; set; }

        /// <summary>
        /// 部门职能
        /// </summary>
        [SugarColumn(Length = 100, ColumnDescription = "部门职能")]
        public System.String roleIds { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public System.DateTime createTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(ColumnDescription = "修改人", IsNullable = true)]
        public System.Int64 updateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updateTime { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(Length = 400, ColumnDescription = "描述", IsNullable = true)]
        public System.String remark { get; set; }

        /// <summary>
        /// 修改时间截
        /// </summary>
        [SugarColumn(ColumnDescription = "修改时间截", IsNullable = true)]
        public System.Int64? modifyTime { get; set; }
    }
}